﻿#ifndef _Field_Factory_H_H_
#define _Field_Factory_H_H_
#include "udatabase/dll_cfg.h"
#include "udatabase/spatialDB/field.h"

namespace FD{
	namespace Utility{
		namespace DB{

///<summary>
///字段构造工厂类
///提供构造字段的方法
///</summary>
class FD_DB_Export CFieldFactory : public FD::Kernel::CReferenced
{
public:
	///<summary>
	///构造字段
	///</summary>
	///<param name="stream">字段信息流</param>
	///<returns>字段</returns>
	static FD::Utility::DB::Interface::IField* createField(FD::Kernel::DataStream &stream);
private:
	CFieldFactory();
};




}}} //End of namespaces

#endif //_Field_Factory_H_H_

